<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>角色功能权限分配</title>
    <script>
        var requireExtraPaths = {
            extrance: '../../../system_js/sysRoleFuncSetOld'
        };
    </script>
    <jsp:include flush="true" page="../base/base.jsp"></jsp:include>
</head>
<body class="site-body">
<section class="main-container">
    <article class="construct-tree construct-tree2" id="left">
        <div class="title-bar clearfix">
            <span style="float: left; margin-right: 12px; margin-top: 12px; padding-left: 18px;">角色列表</span>

            <div class="tree-search clearfix">
                <input type="text" class="input-text" placeholder="搜索" style="width: 125px;" id="search-text">
                <span class="icon"></span>
            </div>
        </div>
        <div class="tree-area" style="min-height: 200px; overflow: auto;">
            <ul class="ztree" id="sysRoleTree">
            </ul>
        </div>
        <%--<div class="slide-panel"></div>--%>
    </article>
    <article class="site-col-extra overflow-a" id="right">
        <div style="margin-left: 20px;margin-right: 20px;padding-top: 5px;padding-bottom: 30px;">
            <input type="hidden" id="corpId"/>
            <input type="hidden" id="roleId"/>
            <input type="hidden" id="level"/>
            <input type="hidden" id="opr"/>

            <div>
                <div class="m-treebtn">
                    <a id="chkAll">
                        <img src="<c:url value="/content/images/select.png"/>">
                        <span>全选</span>
                    </a>
                    <a id="unchkAll">
                        <img src="<c:url value="/content/images/clear.png"/>">
                        <span>取消</span>
                    </a>
                </div>
                <!-- tree begin -->
                <div style="float: left;width: 245px;overflow: hidden;">
                    <ul class="ztree f-cb" id="tree" style="overflow: auto;width: 235px;">
                    </ul>
                </div>

                <div id="fieldGridDiv" style="float: left;margin-left: 20px;padding-top: 5px;">
                    <table width="100%" class="table-style1" id="fieldsTab">
                    </table>
                </div>
                <!-- tree end -->
                <div class="btn-box" style="clear: both;margin-left: 80px;">
                    <!-- <a href="javascript:;" class="save" id="saveAuthority"
                        style="display: none"
                        data-authority="7e2a314769a347f988aa0b97341bceae">保存</a> -->
                    <a class="btn btn-save btn-medium" id="saveAuthority"
                       style="display: block; width: 50px;">保存</a>
                </div>
            </div>
        </div>
    </article>
</section>
</body>
</html>
